import { h } from 'vue';
import { Home as NutIconHome, My as NutIconMy } from '@nutui/icons-vue-taro';
import IMG_HOME from '/@/assets/image/icon/home.png';
import IMG_HOME_ACTIVE from '/@/assets/image/icon/home-active.png';
import IMG_MY from '/@/assets/image/icon/my.png';
import IMG_MY_ACTIVE from '/@/assets/image/icon/my-active.png';

/**
 * 主菜单
 */
const MAIN_MENU = {
  home: {
    title: '首页',
    icon: h(NutIconHome),
    imgIcon: IMG_HOME,
    imgIconActive: IMG_HOME_ACTIVE,
    to: '/pages/index/index',
  },
  my: {
    title: '我的',
    icon: h(NutIconMy),
    imgIcon: IMG_MY,
    imgIconActive: IMG_MY_ACTIVE,
    to: '/pages/my/index',
  },
};

export { MAIN_MENU };
